package com.sskj.dgzs.domain.entity;

import java.util.ArrayList;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.sskj.core.entity.BaseEntity;

@Entity
@Table(name = "lsgd_DengGuangZhuShouEntity")
public class DengGuangZhuShouEntity extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Column(length = 150)
	private String location; // 意见发起者的地理位置

	@Column
	private Integer suggesttype; // 意见类型 1路灯 2景观灯 3安全文明施工 4园林绿化

	@Column(length = 100)
	private String title; // 意见标题

	@Column
	private String locationlat; // 意见发起者的地理位置纬度

	@Column
	private String locationlng; // 意见发起者的地理位置经度

	@Column(length = 300)
	private String viewdesc; // 意见详述

	@Column
	private Integer faulttype; // 故障类型 1故障 2损坏

	@Column
	private Integer viewstatus; // 意见的状态 1已提交待回复 2已回复

	@Column
	private Integer datastatus; // 数据状态 1正常 2已撤销

	private String tjrNick;

	@Transient
	private List<String> picList = new ArrayList<String>();

	@Transient
	private List<String> urlList = new ArrayList<String>();

	@Override
	public String toString() {
		return "DengGuangZhuShouEntity [location=" + location + ", locationlat=" + locationlat + ", locationlng="
				+ locationlng + ", viewdesc=" + viewdesc + ", faulttype=" + faulttype + ", viewstatus=" + viewstatus
				+ ", datastatus=" + datastatus + "]";
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getViewdesc() {
		return viewdesc;
	}

	public void setViewdesc(String viewdesc) {
		this.viewdesc = viewdesc;
	}

	public Integer getFaulttype() {
		return faulttype;
	}

	public void setFaulttype(Integer faulttype) {
		this.faulttype = faulttype;
	}

	public Integer getViewstatus() {
		return viewstatus;
	}

	public void setViewstatus(Integer viewstatus) {
		this.viewstatus = viewstatus;
	}

	public Integer getDatastatus() {
		return datastatus;
	}

	public void setDatastatus(Integer datastatus) {
		this.datastatus = datastatus;
	}

	public Integer getSuggesttype() {
		return suggesttype;
	}

	public void setSuggesttype(Integer suggesttype) {
		this.suggesttype = suggesttype;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public List<String> getPicList() {
		return picList;
	}

	public void setPicList(List<String> picList) {
		this.picList = picList;
	}

	public String getLocationlat() {
		return locationlat;
	}

	public String getLocationlng() {
		return locationlng;
	}

	public void setLocationlat(String locationlat) {
		this.locationlat = locationlat;
	}

	public void setLocationlng(String locationlng) {
		this.locationlng = locationlng;
	}

	public List<String> getUrlList() {
		return urlList;
	}

	public void setUrlList(List<String> urlList) {
		this.urlList = urlList;
	}

	public String getTjrNick() {
		return tjrNick;
	}

	public void setTjrNick(String tjrNick) {
		this.tjrNick = tjrNick;
	}

}
